f1 = open("student_info.txt", "r+", encoding="utf-8")
f2 = open("new_student_info.txt", "wt", encoding="utf-8")
f2.writelines(f1.readline())
for line in f1.readlines():
    hight = line[8:13]
    if float(line[8:13]) >= 180.0:
        f2.write(line)
        f2.flush()
f1.close()
